Download and Install libsdl_sound-framework version 1.0.1 on Mac OS X
Wednesday the 23rd of July, 2008

    libsdl_sound-framework  most recent diff


      View the most recent changes for the libsdl_sound-framework port at: libsdl_sound-framework.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libsdl_sound-framework.
      The raw portfile for libsdl_sound-framework 1.0.1 is located here:
      http://libsdl_sound-framework.darwinports.com/dports/audio/libsdl_sound-framework/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libsdl_sound-framework
      Google
      Web Darwinports.com



      # $Id: Portfile 28992 2007-09-12 22:09:57Z nox macports.org $

      PortSystem 1.0

      Name: libsdl_sound-framework
      Version: 1.0.1
      Category: audio devel
      Platform: macosx
      Maintainers: nox
      Description: handles decoding of several popular sound file formats

      Long Description: SDL_sound is a library that handles the decoding of several popular sound file formats, such as .WAV and .MP3. It is meant to make the programmer's sound playback tasks simpler.

      Homepage: http://icculus.org/SDL_sound/
      master_sites http://icculus.org/SDL_sound/downloads/
      distname SDL_sound-${version}
      dist_subdir libsdl_sound

      checksums md5 49e197ef7c8ab623d0640dc74be43160

      depends_lib port:libsdl-framework port:libsdl_sound

      depends_build bin:glibtoolize:libtool bin:automake:automake bin:autoconf:autoconf

      patchfiles patch-acinclude.m4

      configure.args --disable-sdltest --disable-smpegtest

      pre-configure {
      ui_info "Initial preparation...this can take awhile, so sit tight..."

      system "cd ${worksrcpath} && aclocal"
      system "cd ${worksrcpath} && glibtoolize --automake --copy --force"
      system "cd ${worksrcpath} && autoheader"
      system "cd ${worksrcpath} && automake --foreign --add-missing --copy"
      system "cd ${worksrcpath} && autoconf"

      ui_info "Ready to run ./configure ..."
      }

      set buildindir build

      platform darwin 8 {
      if {$xcodeversion == "2.1"} {
      set buildindir build/Deployment
      patchfiles patch-acinclude.m4.xcode21 patch-aclocal.m4.xcode21 patch-configure.xcode21
      }
      }

      set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"

      post-extract {
      system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
      }

      post-patch {
      reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
      reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
      reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" ${pbx}
      reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
      reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
      reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
      reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
      reinplace "s|build/SDL_sound.framework|${buildindir}/SDL_sound.framework|g" ${pbx}
      }

      build.dir "${worksrcpath}/PBProjects"
      build.type pbx
      build.target -buildstyle Deployment -target Framework

      post-build {
      cd ${worksrcpath}/PBProjects
      system "install_name_tool -id /Library/Frameworks/SDL_sound.framework/SDL_sound build/Frameworks/SDL_sound.framework/SDL_sound"
      }

      destroot {
      cd "${worksrcpath}/PBProjects/build/Frameworks"
      xinstall -d -m 0755 ${destroot}/Library/Frameworks
      system "cp -R SDL_sound.framework ${destroot}/Library/Frameworks"
      }

      platform darwin 6 {
      depends_lib-append lib:libdl:dlcompat
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libsdl_sound-framework
      % sudo port install libsdl_sound-framework
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libsdl_sound-framework
      ---> Verifying checksum for libsdl_sound-framework
      ---> Extracting libsdl_sound-framework
      ---> Configuring libsdl_sound-framework
      ---> Building libsdl_sound-framework with target all
      ---> Staging libsdl_sound-framework into destroot
      ---> Installing libsdl_sound-framework
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libsdl_sound-framework with these commands:
      %  man libsdl_sound-framework
      % apropos libsdl_sound-framework
      % which libsdl_sound-framework
      % locate libsdl_sound-framework

     Where to find more information:

    Darwin Ports



    image test